package org.kordakus.shoot;

import java.lang.reflect.InvocationTargetException;

import javax.swing.SwingUtilities;

import org.kordakus.shoot.gui.ShootFrame;

public class ShootApplication
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		try
		{
			SwingUtilities.invokeAndWait(new Runnable()
			{
				@Override
				public void run()
				{
					new ShootFrame(new ShootController());
				}
			});
		} catch (InvocationTargetException e)
		{
			System.err.println("Unable to start application (" + e.getMessage()
					+ ")");
			e.printStackTrace();
		} catch (InterruptedException e)
		{
			System.err.println("Unable to start application (" + e.getMessage()
					+ ")");
			e.printStackTrace();
		}
	}
}
